package com.aaa.hospital.mapper;

import com.aaa.hospital.pojo.domain.News;
import com.aaa.hospital.pojo.query.NewsStateQuery;

import java.util.List;

public interface NewsStateMapper {
    List<News> queryNewsState(NewsStateQuery newsStateQuery);

    Long queryNewsStateTotal(NewsStateQuery newsStateQuery);

    int upper(Integer id);

    int lower(Integer id);

    News buByID(Integer id);
}
